package ${package};

import ${tableClass.fullClassName};
import ${tableClass.fullClassName?replace('sensor','history')};
import org.springframework.stereotype.Service;
import com.example.onlinemonitoring.Util.tem.SensorAbstractBaseService;
import com.example.onlinemonitoring.service.${tableClass.shortClassName}Service;
import com.example.onlinemonitoring.model.common.chartres;
import com.example.onlinemonitoring.Util.HexUtil;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.List;

<#assign dateTime = .now>
/**
* @description ${tableClass.shortClassName}接口实现
* @author  generator
* @since  ${dateTime?string["yyyy-MM-dd HH:mm:ss"]}
*/
@Service("${tableClass.shortClassName?uncap_first?replace('sensor','ServiceImpl')}")
public class ${tableClass.shortClassName}ServiceImpl extends SensorAbstractBaseService<${tableClass.shortClassName}, ${tableClass.shortClassName?replace('sensor','history')}> implements ${tableClass.shortClassName}Service {
     //这里需要重写getDt方法,用来处理图表数据
    //public String[] getDt(List<${tableClass.shortClassName?replace('sensor','history')}> list,String[] dt,chartres cts,float[][] sres,SimpleDateFormat sdf,SimpleDateFormat csdf,SimpleDateFormat sdf2){return null;}
}
